package com.weixing.mall.provider.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.provider.api.model.enums.OrderTypeEnum;
import com.weixing.mall.provider.model.enums.AfterSaleAuditEnum;
import com.weixing.mall.provider.model.enums.AfterSalesTypeEnum;
import com.weixing.mall.provider.model.enums.OrderFromEnum;
import com.weixing.mall.provider.model.enums.OrderStateEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName ScanCodeGoodsDetilVo
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/11/7
 * @Version 1.0
 **/
@Data
public class ScanCodeGoodsDetilVo {


    private Long id;
    private Long buyerId;
    //订单编号
    private String orderSn;
    //物流单号
    private String expressSn;
    //物流名称
    private String expressName;
    //发货时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date shipTime;
    //收货时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date receiptTime;
    //订单状态
    private OrderStateEnum orderStatus;
    //订单类型
    private OrderTypeEnum orderType;
    //订单来源
    private OrderFromEnum orderFrom;
    //客户备注
    private String remark;
    //客服备注
    private String kefuRemark;
    //下单时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createdTime;
    //更新时间
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    //下单人
    private String buyer;

    //客户名称（联系人
    private String contactUser;
    //联系电话
    private String contactPhone;
    //收货地址
    private String addrDetail;
    //省
    private String province;
    //市
    private String city;
    //区
    private String region;
    //街道
    private String town;
    //商品货号
    private String goodsSn;
    //供应商
    private String supplierName;
    //sku描述
    private String productSkuDesp;
    //货品图片
    private String productImg;
    //发货员
    private String shipperName;
    //货品id
    private Long productId;

    //产品名称
    private String productName;
    //价格
    private BigDecimal costPrice;

    //售后Id
    private String afterSaleId;
    // 售后类型
    private AfterSalesTypeEnum afterSaleType;
    //退回原因
    private String applyReason;
    //退回备注
    private String afterSaleRemark;

    //货号
    private String productSn;

    //客服名称
    private String customerName;

    /**
     * 售后状态
     */
    private AfterSaleAuditEnum afterSaleStatus;

    /**
     * 发货员备注
     */
    private String shipperRemark;

    /**
     * 分类名称
     */
    private String catName;

    /**
     * 活动名称
     */
    private String actName;

    /**
     * 是否已接收
     * 1代表已接收
     */
    private Integer receiveTag;

    /** 所属代理商*/
    private String agentName;

    /** 订单金额*/
    private BigDecimal orderPrice;
    /***
     * 商品ID
     */
    private  Long  goodsId;

    /**
     * 库存编码
     */
    private  String  stockSn;
}
